package ke02;

public class ThreadDemo {

	public static void main(String[] args) {
		
//		MyThread t = new MyThread();
//		t.start();
		
		MyTask myTask = new MyTask();
		Thread t = new Thread(myTask);
		t.start();
		
//		while(true){
//			System.out.println("main thread running...");
//		}
		
		System.out.println("Ende der main-Methode");
	}

}
